<template>
	<view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			// #ifdef APP-PLUS 
			const launch = uni.getStorageSync('isLaunch');
			let time = uni.getStorageSync('curTime');
			let token = uni.getStorageSync('token');
			let date = new Date().getTime();
			if(launch && date - time < 86400000){
				uni.switchTab({
					url:'/pages/choujiang/index'
				})
			}else{
				uni.setStorageSync('isLaunch',true);
				let curTime = new Date().getTime();
				uni.setStorageSync('curTime',curTime);
				uni.redirectTo({
					url:'/pages/choujiang/loading'
				})
			}
			// #endif
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">

</style>
